<style type="text/css">
</style>
<div class="new_bd clearfix">

        <div class="new_list">

        	<?php echo $this->render('bulletin/left.phtml');?>

        </div>

        <!-- 主栏 -->

        <div class="new_mn">

        	<b class="spbg2 corner tl"></b>

    		<b class="spbg2 corner tr"></b>

    		<b class="spbg2 corner bl"></b>

    		<b class="spbg2 corner br"></b>

    		<div class="titlebar clearfix"><a href="<?php echo MY_URL;?>">Home</a> &gt; Blog</div>

    		<ul class="bulletinlist clearfix">

    			<?foreach($this->itemArray as $value):?>

	    			<li style="height:auto;">
	    				<h2 style="font-size: 15px; margin: 0;"><a href="blog-detail-id-<?=$value['itemid']?>"><?=$value['subject']?></a></h2>
	    				<div style="margin: 0; padding: 0; line-height: 10px;"><?=date('Y-m-d',$value['add_time'])?></div>
						<p style="margin-top: 10px; margin-bottom: 10px; line-height: 15px;">
							<?php 
								preg_match('/<img.*src="(.*)"/Usi', $value['content'], $match);
								if ($match) {
									echo '<img width="600px" src="' . $match[1] . '" /><br/>';
								}								
							?>
    						<?php echo substr(nl2br(strip_tags($value['content'])),0,300);?>
    			
    					</p>
	    			</li>

    			<?endforeach;?>

    		</ul>

    		<div class="pages clearfix">

    			<div class="g-pages-style">

    			<?php echo $this->pageString;?>

    				

    			</div>

    		</div>

        </div>

    </div>